package com.design.pattern.command.executor;

import com.design.pattern.command.cmd.SwitchCmd;
import org.springframework.stereotype.Component;

@Component
public class SwitchExecutor extends AbstractExecutor<SwitchCmd> {
    @Override
    public void doExec(SwitchCmd cmd) {
        System.out.println("控制开关");
    }

}
